package com.ewivt.excel.model;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@ToString
public class Distance {

    private Long id;

    private String startName;
    private String startCode;
    private String endName;
    private String endCode;
    private Double startLongitude;
    private Double startLatitude;
    private Double endLongitude;
    private Double endLatitude;
    private Double driveDistance;

    public Distance(String startName, String startCode, String endName, String endCode, Double sLongitude, Double sLatitude, Double eLongitude, Double eLatitude, Double driveDistance) {
        this.startName = startName;
        this.startCode = startCode;
        this.endName = endName;
        this.endCode = endCode;
        this.startLongitude = sLongitude;
        this.startLatitude = sLatitude;
        this.endLongitude = eLongitude;
        this.endLatitude = eLatitude;
        this.driveDistance = driveDistance;
    }
}